
//
//  SHWindowButton.m
//  JiFengDaRen
//
//  Created by SH_iOS on 2017/6/5.
//  Copyright © 2017年 SH_iOS. All rights reserved.
//

#import "SHWindowButton.h"

@implementation SHWindowButton
-(CGRect)titleRectForContentRect:(CGRect)contentRect{
    return CGRectMake(__I6Width(30),__I6Height(36)/2 - __I6Height(14)/2,__I6Width(70),__I6Height(14));
}
-(CGRect)imageRectForContentRect:(CGRect)contentRect{
    return CGRectMake(__I6Width(10),__I6Height(36)/2 -__I6Height(15)/2,__I6Width(15),__I6Width(15));
    
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
